<?php

use Illuminate\Database\Seeder;

class StudentSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        //清空数据库
        \App\Models\Student::truncate();
        //添加模拟数据
        factory(\App\Models\Student::class,30)->create();

    }
}
